package com.xueyi.system.maintenance.service.impl;

import com.xueyi.system.maintenance.domain.query.BaseMaintenancePlanQuery;
import com.xueyi.system.maintenance.domain.dto.BaseMaintenancePlanDto;
import com.xueyi.system.maintenance.service.IBaseMaintenancePlanService;
import com.xueyi.system.maintenance.manager.IBaseMaintenancePlanManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 维保计划管理 服务层处理
 *
 * @author yanhe
 */
@Service
public class BaseMaintenancePlanServiceImpl extends BaseServiceImpl<BaseMaintenancePlanQuery, BaseMaintenancePlanDto, IBaseMaintenancePlanManager> implements IBaseMaintenancePlanService {

    /**
     * 查询维保计划对象列表 | 数据权限 | 附加数据
     *
     * @param baseMaintenancePlan 维保计划对象
     * @return 维保计划对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseMaintenancePlanMapper"})
    public List<BaseMaintenancePlanDto> selectListScope(BaseMaintenancePlanQuery baseMaintenancePlan) {
        return baseManager.selectListExtra(baseMaintenancePlan);
    }

}